package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商业区管理对象 business
 * 
 * @author ruoyi
 * @date 2024-08-08
 */
public class Business extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商业区id */
    private Long busId;

    /** 商业区名称 */
    @Excel(name = "商业区名称")
    private String busName;

    /** 商业区地址 */
    @Excel(name = "商业区地址")
    private String busAddress;

    /** 楼栋管理信息 */
    private List<Building> buildingList;

    public void setBusId(Long busId) 
    {
        this.busId = busId;
    }

    public Long getBusId() 
    {
        return busId;
    }
    public void setBusName(String busName) 
    {
        this.busName = busName;
    }

    public String getBusName() 
    {
        return busName;
    }
    public void setBusAddress(String busAddress) 
    {
        this.busAddress = busAddress;
    }

    public String getBusAddress() 
    {
        return busAddress;
    }

    public List<Building> getBuildingList()
    {
        return buildingList;
    }

    public void setBuildingList(List<Building> buildingList)
    {
        this.buildingList = buildingList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("busId", getBusId())
            .append("busName", getBusName())
            .append("busAddress", getBusAddress())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("buildingList", getBuildingList())
            .toString();
    }
}
